package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.pojo.ShoppingCart;

public interface ShoppingCartService extends IService<ShoppingCart> {

    /**
     * 修改购物车 商品数量减一
     * @param shoppingCart 商品id
     */
    void subtractById(ShoppingCart shoppingCart);
}
